
import React from 'react'
import { ConfigProvider, App as AntdApp } from 'antd'
import { RouterProvider } from 'react-router-dom'
import { Provider } from 'react-redux'
import routes from './core/router'
import store from './core/store/index'
import zhCN from 'antd/locale/zh_CN'

const Main = () => {

  return (
    <AntdApp>
      <ConfigProvider locale={zhCN}>
        <Provider store={store}>
          <RouterProvider router={routes}>
          </RouterProvider>
        </Provider>
      </ConfigProvider>
    </AntdApp >
  )
}

export default Main
